package com.ming.day250804;

import java.util.Scanner;

/*
 95~100		山地自行车一辆
 90~94		游乐场玩一次
 80~89		变形金刚玩具一个
 80以下	    胖揍一顿
 */
public class c_if_else {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.print("请输入成绩：");
        int score = sc.nextInt();
        if (score>=95 && score<=100){
            System.out.println("山地自行车一辆");
        }else if (score>=90 && score<=94){
            System.out.println("游乐场玩一次");
        }else if (score>=80 && score<=89){
            System.out.println("变形金刚玩具一个");
        }else {
            System.out.println("胖揍一顿");
        }

        //System.out.print("请输入x：");
        //int x = sc.nextInt();
        //System.out.print("请输入y：");
        //int y = sc.nextInt();
        ////if(x > y){
        ////    System.out.println("最大值为:" + x);
        ////}else{
        ////    System.out.println("最大值为:" + y);
        ////}
        //System.out.print("请输入z：");
        //int z = sc.nextInt();
        ////定义一个变量接收前两个数的较大值
        //int temp = 0;
        //if (x>y){
        //    temp = x;
        //}else{
        //    temp = y;
        //}
        //
        //if (temp>z){
        //    System.out.println("最大值为:" + temp);
        //}else{
        //    System.out.println("最大值为:" + z);
        //}

        //int data = sc.nextInt();
        //if(data % 2 == 0){
        //    System.out.println("偶数");
        //}else{
        //    System.out.println("奇数");
        //}
        sc.close();
    }
}
